all: easytest

easytest: easytest.o stroke.o
	g++ -o easytest -L/usr/local/lib easytest.o stroke.o -lSDL -lm  -lSDL_draw

easytest.o: easytest.c
	gcc -ggdb -c -o easytest.o -I/usr/local/include easytest.c -std=c99
	
stroke.o: stroke.c
	gcc -ggdb -c -o stroke.o -I. stroke.c -std=c99
	
clean:
	rm *.o easytest

